<script setup lang="ts">
import { computed, onMounted, Ref } from "vue";
import { Instance, LoggerUtil } from "@ys-lib/ts";

const logger = LoggerUtil.getLogger("ex.components.mate.instance-test");

let i = computed(() => {
  return Instance.Instance().get("i");
});
</script>

<template>
  <div>组件内获取到的单例： {{ i }}</div>
</template>

<style scoped></style>
